<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:if test="${sistema.usuario!=null}">
    <%@page contentType="text/html" pageEncoding="UTF-8"%>
    <html>
        <head>
            <jsp:include page = "../metadatos_importaciones.jsp" flush = "True" />
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <title>Nuevo Evento</title>
        </head>
        <body>
            <jsp:include page = "../menu.jsp" flush = "True" />
            <div class="large-12 ">
                <div class="panel">

                    <c:if test="${sessionCtrlProfesoresErrores != null}">
                        <div class="row">
                            <div class="large-12 columns">
                                <div class="callout panel">
                                    <strong>Errores</strong>
                                    <ul>
                                        <c:forEach items="${sessionCtrlProfesoresErrores}" var="s">
                                            <li><c:out value="${s}"/></li>
                                        </c:forEach>
                                    </ul>
                                </div>
                            </div>
                        </div>
                    </c:if>

                    <c:if test="${sessionEscuela.profesor.id == 0 || sessionEscuela.profesor.id == null }">
                        <div class="row"><h3> Registro Nuevo Profesor </h3></div>
                    </c:if>
                    <c:if test="${sessionEscuela.profesor.id > 0}">
                        <div class="row"><h3> Editar Profesor </h3></div>
                    </c:if>

                    <div class="row">
                        <div class="large-4 columns"><button class="small button" onclick="window.location = './ControlProfesores?funcion=interfaz&idProfesor=<c:out value="${profesorIDApuntador}"/>'">Regresar</button></div>
                    </div>
                    <div class="row">

                        <form method="post" action="./ControlProfesores?funcion=nuevoEventoGuardar">
                            <input type="hidden" value="<c:out value="${profesorIDApuntador}"/>" name="idProfesor"/>
                            <div  class="row">
                                <div class="medium-qw columns">
                                    <label>Dia</label>
                                    <select name="dia">
                                        <option value="1">Lunes</option>
                                        <option value="2">Martes</option>
                                        <option value="3">Miercoles</option>
                                        <option value="4">Jueves</option>
                                        <option value="5">Viernes</option>
                                    </select>
                                </div>
                            </div>

                            <div  class="row">
                                <div class="medium-6 columns">
                                    <label>Hora Inicio Evento</label>
                                    <select name="horaInicio">
                                        <option value="1">7  AM</option>
                                        <option value="2">8  AM</option>
                                        <option value="3">9  AM</option>
                                        <option value="4">10 AM</option>
                                        <option value="5">11 AM</option>
                                        <option value="6">12 PM</option>
                                        <option value="7">1  PM</option>
                                        <option value="8">2  PM</option>
                                        <option value="9">3  PM</option>
                                    </select>
                                </div>
                                <div class="medium-6 columns">
                                    <label>Hora Fin Evento</label>
                                    <select name="horaFin">
                                        <option value="1">7  AM</option>
                                        <option value="2">8  AM</option>
                                        <option value="3">9  AM</option>
                                        <option value="4">10 AM</option>
                                        <option value="5">11 AM</option>
                                        <option value="6">12 PM</option>
                                        <option value="7">1  PM</option>
                                        <option value="8">2  PM</option>
                                        <option value="9">3  PM</option>
                                        <option value="10">4  PM</option>
                                    </select>
                                </div>
                            </div>
                            <div class="row">
                                <div class="medium-12 columns">
                                    <labe>Descripcion del Evento</labe>
                                    <input type="text" placeholder="descripcion" name="desc"/>
                                </div>
                            </div>
                            <div class="row">
                                <input type="submit" value="Guardar" class="small button success"/>
                                
                            </div>
                        </form>
                    </div><!-- -->
                </div>
            </div>
        </div>
    </body>
</html>
<%--<jsp:include page = "../piePagina.jsp" flush = "True" />--%>
</c:if>
<c:if test="${sistema.usuario==null}">
    <jsp:include page = "../ingresaSesionAviso.jsp" flush = "True" />
</c:if>